<?php
namespace app\admin\Validate;
use \think\Validate;
class User extends Validate{
	protected $rule = [
		'uname' => 'require|max:15', //'videoname' videoname那个位置写的是要验证的数组的下标
		'uname' => 'require|min:4',
	];
}